package cn.itcast.mobile;

import java.util.Map;

/**
 * Demo class
 *
 * @author gyc
 * @date 2021 /10/17
 */
public interface MobileMemberService {
    /**
     * Send code boolean.
     *
     * @param phone the phone
     * @return the boolean
     */
    boolean sendCode(String phone);

    /**
     * Login verification map.
     *
     * @param phone the phone
     * @param code  the code
     * @return the map
     */
    Map loginVerification(String phone, String code);
}
